AnonymousType
T1
T2
IdeaBlade DevForce 2010 Help Reference
ConstructFromPrototype<AnonymousType,T1,T2>(AnonymousType,T1,T2) Method
See Also  Send Feedback
IdeaBlade.Core Assembly > IdeaBlade.Core Namespace > AnonymousFns Class > ConstructFromPrototype Method : ConstructFromPrototype<AnonymousType,T1,T2>(AnonymousType,T1,T2) Method



protoType
value1
value2
Construct a single instance of an anonymous type given a prototype instances and a specified set of values

Syntax

Visual Basic (Declaration) 
Public Overloads Shared Function ConstructFromPrototype
    (Of AnonymousType,T1,T2)( _
   ByVal protoType As AnonymousType, _
   ByVal value1 As T1, _
   ByVal value2 As T2 _
) As AnonymousType
Visual Basic (Usage)Copy Code
Dim protoType As AnonymousType
Dim value1 As T1
Dim value2 As T2
Dim value As AnonymousType
 
value = AnonymousFns.ConstructFromPrototype(Of AnonymousType, T1, T2)(protoType, value1, value2)
C# 
public static AnonymousType ConstructFromPrototype<AnonymousType,T1,T2>( 
   AnonymousType protoType,
   T1 value1,
   T2 value2
)
C++/CLI 
public:
static AnonymousType^ ConstructFromPrototypegeneric<typename AnonymousType>
generic<typename T1>
generic<typename T2>
( 
   AnonymousType^ protoType,
   T1^ value1,
   T2^ value2
) 

Parameters

protoType
value1
value2

Type Parameters

AnonymousType
T1
T2

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2013 All Rights Reserved.